<template>
	<view>
		<view class="banner_detail">
		<view class="order_info">
			<view class="title">
				配送上门
			</view>
			<view class="sale_info">
				<view class="lf">
					<view class="address">
						四川交通职业技术学院-1栋1层-120
					</view>
					<view class="contact">
						张三 15534675438
					</view>
				</view>
				<view class="rg">
					<u-icon name="arrow-right" color="#aaa" size="16"></u-icon>
				</view>
			</view>
			<view class="sale_time">
				<view class="time">
					送达时间
				</view>
				<view class="icon">
					今天尽快<u-icon name="arrow-right" color="#aaa" size="16"></u-icon>
				</view>
			</view>
			
		</view>
		<view class="food">
			<view class="font">
				花甲米线
			</view>
			<view class="detail">
				<view class="det_item" v-for="item,index in 2" :key="index">
					<view class="lf">
						<view class="one">
							<image src="/static/index/food.png" mode=""></image>
						</view>
						<view class="two">
							<view class="ming">
								花甲米线
							</view>
							<view class="num">
								×1
							</view>
						</view>
					</view>
					<view class="money">
						￥11
					</view>
				</view>
			</view>
			<view class="count">
				<view class="xiang" v-for="item,index in countList" :key="index">
					<view class="des">
						<view class="ques">
							{{item.title}}:	
						</view>
						<view class="answer">
							{{item.answer}}
						</view>
					</view>
					<view class="jine">
						￥{{item.money}}
					</view>
				</view>
			</view>
			<view class="count_num">
				应付总计：￥22
			</view>
		</view>
		<view class="readme">
			<view class="des">
				订单备注
			</view>
			<view class="choose">
				口味、偏好等<u-icon name="arrow-right" color="#aaa" size="16"></u-icon>
			</view>
		</view>
		</view>
		
	</view>
	<view class="fotter">
		<view class="money">
			<span>总计</span> <span>￥11.5</span>
		</view>
		<view class="down">
			立即支付
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				countList:[
					{
						title:'小计',
						answer:'2样2份',
						money:11
					},
					{
						title:'打包',
						answer:'餐盒/包装',
						money:2	
					},
					{
						title:'配送',
						answer:'按范围计算',
						money:1
					},
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	page {
		background-color: f4f4f4;
	}
	.banner_detail {
		height: 80vh;
		background: linear-gradient(#F8C271,#fff);
		padding-top: 30rpx;
	}
	.order_info {
		background-color: #fff;
		padding: 0rpx 20rpx;
		margin: 0 30rpx;
		border-radius: 15rpx;
		
		.title {
			text-align: center;
			padding: 30rpx 0;
			font-weight: 700;
		}
		.sale_info {
			display: flex;
			justify-content: space-between;
			align-items: center;
			border-bottom: 1rpx solid #f4f4f4;
			padding-bottom: 20rpx;
			.address {
			}
			.contact {
				margin-top: 20rpx;
				color: #aaa;
			}
		}
		.sale_time {
			display: flex;
			justify-content: space-between;
			padding-bottom: 30rpx;
			.time {
			}
			.icon {
				display: flex;
				align-items: center;
				color: #F5AC3C;
			}
		}
	}
	.readme {
		display: flex;
		justify-content: space-between;
		padding:30rpx;
		margin:  30rpx;
		border-radius: 15rpx;
		background-color: #fff;
		.des {
		}
		.choose {
			display: flex;
			color: #aaa;
		}
	}
	.fotter {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		position: fixed;
		bottom: 30rpx;
		background-color: #4D4D4F;
		padding: 20rpx 0rpx	;
		border-radius: 25rpx;
		.money {
			color: #fff;
			padding: 0 30rpx;
		}
		.down {
			background-color: #F5AC3C;
			color: #fff;
			padding: 10rpx 30rpx;
			margin-right:20rpx;
			border-radius: 15rpx;
		}
	}
	.food {
		background-color: #fff;
		border-radius: 15rpx;
		margin: 20rpx 30rpx;
		padding: 20rpx;
		.font {
			color: #aaa;
		}
		.count {
			border-bottom: 1rpx solid #f4f4f4;
			.xiang {
				display: flex;
				justify-content: space-between;
				padding: 20rpx 0;
				.des {
					display: flex;
					align-items: center;
					.ques {
						margin-right: 20rpx;
					}
					.answer {
						color: #aaa;
						font-size: 28rpx;
					}
				}
				.jine {
					
				}
			}
		}
		.detail {
			.det_item {
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 20rpx 0;
				border-bottom: 1rpx solid #f4f4f4;
				.lf {
					display: flex;
					align-items: center;
					.one {
						image {
							width: 100rpx;
							height: 100rpx;
							border-radius: 10rpx;
						}
					}
					.two {
						margin-left: 20rpx;
						.num {
							color: #aaa;
							margin-top: 15rpx;
						}
					}
				}
				.money {
					
				}
			}
		}
		.count_num {
			text-align: right;
			padding: 20rpx 0;
		}
	}
</style>
